﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Xml.Serialization;

namespace F2S.LINQ2LinkedIn.Model
{
    [XmlRoot("activity")]
    public class Activity : UpdateItem
    {
        [XmlElement("body")]
        public string Body { get; set; }

        [XmlElement("app-id")]
        public string AppId { get; set; }
    }

    /*
         <activity>
            <body>&lt;a href=&quot;http://www.linkedin.com/redirect?url=http%3A%2F%2Fwww%2Elinkedin%2Ecom%2Fprofile%2Fview%3Fid%3D20188052%26authType%3Dname%26authToken%3Ds3QE%26trk%3Dapi*a153289*s161564*&amp;amp;urlhash=dK89&quot;&gt;Jason Tupeck&lt;/a&gt; is now using LinkedIn for iPad.  &lt;a href=&quot;http://www.linkedin.com/redirect?url=http%3A%2F%2Fitunes%2Eapple%2Ecom%2Fus%2Fapp%2Flinkedin%2Fid288429040%3Fmt%3D8%26uo%3D4%26trk%3Dnus-iphn&amp;amp;urlhash=gsdw&quot;&gt;Get it now &amp;raquo;&lt;/a&gt;</body>
            <app-id>153289</app-id>
          </activity>
    */
}
